package com.cz.video.system.api;

import com.cz.video.common.core.domain.entity.SysUser;

/**
 * 用户服务
 *
 * @author ruoyi
 */
public interface RemoteUserService {


    String testCall();

    SysUser selectUserById(Long userId);

    SysUser selectUserByUserName(String username);

    int updateByEmail(SysUser user);

    SysUser selectUserByEmail(String email);

    boolean registerUser(SysUser sysUser);

    boolean checkEmilUnique(SysUser sysUser);

    boolean checkUserNameUnique(SysUser sysUser);
}
